package com.xh.bussiness.permission.service;



import com.xh.bussiness.permission.bean.request.UserCommonMenuRequest;
import com.xh.bussiness.permission.model.UserCommonMenu;
import com.xh.core.service.IBaseService;
import com.xh.core.bean.XhPage;

import java.util.List;

/**
 * <p>
 * 用户常用菜单 服务类
 * </p>
 *
 * @author Pitt
 * @since 2020-12-03
 */
public interface IUserCommonMenuService extends IBaseService<UserCommonMenu> {

    /**
     * 分页查询方法
     * @param page
     * @param bean
     * @return
     */
    public XhPage queryUserCommonMenuPage(XhPage page, UserCommonMenuRequest bean);

    /**
     * 查询方法
     * @param bean
     * @return
     */
    public List queryUserCommonMenu(UserCommonMenuRequest bean);

    boolean addUserCommonMenu(UserCommonMenu userCommonMenu);

    public List<UserCommonMenu> queryUserCommonMenuByUserId(String userId);
}
